<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
    <style></style>
  </head>
  <body>
    <div>
      <h1>Flow-Mixed与Any</h1>
      <p>任意类型</p>
      <p>mixed----any----两者的区别</p>
      <p>mixed是强类型</p>
      <p>any是弱类型</p>
    </div>
    <script>
      //任意类型--mixed
      function passMixed(value: mixed) {}
      passMixed("string");
      passMixed(100);

      //任意类型--any
      function passAny(value: any) {}
      passAny("string");
      passAny(100);
    </script>
  </body>
</html>
